package main;
import java.sql.*;
public class DBAcess {
	public static Statement getStatement() throws ClassNotFoundException, SQLException, InstantiationException, IllegalAccessException
	{
		Class.forName("com.mysql.jdbc.Driver");
		Connection conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/travelexperts","root","root");
		return conn.createStatement();
	}

}
